import { Input } from "antd"
import { FC } from "react"

import { SFormItem } from "@/components/common"
import { useLocale } from "@/locales"

export type UserNameTypeField = {
	userNameTypeCode: string
}
const UserNameTypeInput: FC<any> = ({ label }) => {
	const { formatMessage } = useLocale()

	return (
		<SFormItem name="userName" label={label}>
			<Input allowClear style={{ width: "278px" }} placeholder={formatMessage({ id: "label.please_enter" })} />
		</SFormItem>
	)
}

export default UserNameTypeInput
